Fix building against old glib versions
authorMatthew Leeds <matthew.leeds@endlessm.com>
Wed, 6 Jun 2018 20:41:37 +0000 (13:41 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 7 Jun 2018 17:28:49 +0000 (17:28 +0000)
commit6ea21696a3373d32ea759a794c9673075539e7c4
tree76fd80c46f696f0753621b1c972b6c52766cf13c
parent1d830c17922c14b08d208f5d5b5f091851037470
Fix building against old glib versions

We need to include libglnx.h in places where ostree-autocleanups.h is
included, so that we get backports of G_DEFINE_AUTOPTR_CLEANUP_FUNC and
friends.

Closes: #1615
Approved by: jlebon
src/libostree/ostree-repo-finder-avahi-parser.c
src/libostree/ostree-repo-finder-avahi.c
src/libostree/ostree-repo-finder.c
tests/repo-finder-mount.c